Wiki

Clone wiki

atlasboard / Where the module dependencies are being picked up

#!code

## atlasboard ##

package.json <- In the only package.json for atlasboard, we need to define the global dependencies that are used by atlasboard. Also the job-dependencies will be defined here, since atlaboard will inject them in each job instance.

 - socket.io <- atlasboard core
 - express <- atlasboard core
 - ejs <- atlasboard core
 - pg <- used in job dependency
 - request <- used in job dependency
 - ...

## your wallboard folder ##

package.json <- This is the root package.json for your wallboard project. 
                It doesn't need to define dependencies really, since the core ones 
                will be defined in atlasboard and the per package ones will be defined in each package.

  - packages

    - atlassian 
      package.json <- here we will defined the list of dependencies for atlassian package
        - cron
        - memory-cache
        - ...

    - mycompanypackage
      package.json <- here we will defined the list of dependencies for mycompanypackage package
        - yourmodule1
        - yourmodule2
        - ...

Updated